home *** CD-ROM | disk | FTP | other *** search
- Path: sun001.spd.dsccc.com!jmccarty
- From: jmccarty@sun1307.spd.dsccc.com (Mike McCarty)
- Newsgroups: comp.lang.c
- Subject: Re: extern func() declaration?
- Date: 18 Apr 1996 20:14:22 GMT
- Organization: DSC Communications Corporation
- Message-ID: <4l67qu$drk@sun001.spd.dsccc.com>
- References: <316436C5.413E@micromedia.on.ca>
- NNTP-Posting-Host: sun1307.spd.dsccc.com
-
- In article <316436C5.413E@micromedia.on.ca>,
- Richard Steadman <rsteadma@micromedia.on.ca> wrote:
- )Hello. This is just a minor point, but I couldn't find the
- )answer in the FAQ:
- )
- )What's the difference between
- )
- ) extern int func(void);
- )
- )and
- )
- ) int func(void);
- )
- )when declaring functions located in another source file? They
- )both seem to work alright.
- )
- )Richard Steadman
- )rsteadma@mmltd.com
-
-
- Pedantic differences aside, they mean -exactly- the same thing.
-
- Mike
- --
- ----
- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
-
- I don't speak for DSC. <- They make me say that.
-